<table class="responsive">
	<thead>
		<tr class="table-border-bottom">
			<th colspan="3"><a href="<?php echo base_url()."index.php/api/update"?>">Add new</a></th>
		</tr>
		<tr>
			<th>Network ID</th>
			<th>API Key</th>
			<th>Action</th>
		</tr>
	</thead>
	<?php 
	if($data)
	{
	?>
	<tbody>
		<?php foreach($data as $item){?>
		<tr>
			<td><?php echo $item->name?></td>
			<td><?php echo $item->api_key?></td>
			<td>
				<a href="<?php echo base_url().'index.php/api/update/'.$item->id;?>">Edit</a>
				<a href="<?php echo base_url().'index.php/api/delete/'.$item->id;?>">Delete</a>
			</td>
		</tr>
		<?php }?>
	</tbody>
	<?php }?>
</table>
